/****************************************
    BasePage (giong Action trong Android)
****************************************/

import QtQuick 2.1
import QtQuick.Layouts 1.0
import QtQuick.Controls 1.0
import QtQuick.Controls.Styles 1.0

import org.qtproject.qtquick 1.0


Rectangle {
    id: page

    property bool m_isLocked: true;
    signal nextPage;
    signal previousPage;
    signal sendFriendId(var friendId);
    signal logout;
    signal messageSent(var msgId);

    Binding {
        target: ApplicationInfo
        property: "isPortraitMode"
        value: page.height > page.width
        when: !ApplicationInfo.isMobile
    }

    Binding {
        target: ApplicationInfo
        property: "applicationWidth"
        value: page.width
    }

}
